package com.xxw.eshop.finance.service;

import com.xxw.eshop.wms.entity.PurchaseInputOrderDTO;
import com.xxw.eshop.wms.entity.SaleDeliveryOrderDTO;

/**
 * @author: XuXinWei
 * @time: 2021-09-16 22:43
 * @description: 财务中心对外提供的接口
 **/
public interface FinanceService {

    /**
     * 创建采购结算单
     * @param purchaseInputOrderDTO 采购入库单DTO
     * @return 处理结果
     */
    Boolean createPurchaseSettlementOrder(PurchaseInputOrderDTO purchaseInputOrder);

    /**
     * 给物流公司打款
     * @param saleDeliveryOrderDTO 销售出库单
     * @return 处理结果
     */
    Boolean payForLogisticsCompany(SaleDeliveryOrderDTO saleDeliveryOrder);
}
